<template>
  <div class="mine">
    <div class="jumpLogin">
      <div class="avatar-wrap">
        <div class="user-logo"><img src="../../assets/avatar.png" alt="" srcset=""></div>  
        <div class="user-name" @click="jumpregister">点此登录<van-icon name="arrow" /></div>
      </div>
    </div>
    <!-- 帮助与反馈 -->
    <div class="helpFeedback">
      <div>
        <p>
          <van-icon name="records" size="24"/>
          <span>帮助与反馈</span>
        </p>
        <van-icon name="arrow" size="24"/>
      </div>
      <div>
       <p>
         <van-icon name="medal-o" size="24"/>
          <span>关于我们</span>
       </p>
        <van-icon name="arrow" size="24"/>
      </div> 
    </div>
  </div>
</template>

<script>
export default {
  name: 'mine',
  data() {
    return {}
  },
  methods:{
    jumpregister(){
      this.$router.push('/register')
    }
  }
}
</script>

<style lang="scss" scoped>
.mine {
  padding-top: 46px;
  .jumpLogin {
    width: 100%;
    height: 135px;
    background: url(../../assets/my_bg.png);
    background-size: 100%;
    display: flex;
    align-items: center;
    .avatar-wrap {
      display: flex;
      align-items: center;
      margin-left: 40px;
        .user-logo {
        width: 75px;
        height: 75px;
        img {
          width: 100%;
          height: 100%;
        }
      }
      .user-name {
        margin-left: 20px;
        font-size: 16px;
        color: white;
      }
    }
    
  }
  .helpFeedback {
    width: 100%;
    
    div {
      height: 86px;
      display: flex;
      align-items: center;
      border-bottom: 1px solid #C6C6C6;
      padding: 0 20px;
      justify-content: space-between;
      p {
        display: flex;
        justify-content: space-between;
        align-items: center;
        span {
          margin-left: 20px;
        }
      }
    }
  }
}
</style>
